package com.ruoyi.kk.activity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 徒步活动信息对象 kk_hiking_activity
 * 
 * @author kk
 * @date 2025-06-10
 */
public class KkHikingActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    /** 活动地点ID */
    @Excel(name = "活动地点ID")
    private Long locationId;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String location;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 活动周期（单位：天） */
    @Excel(name = "活动周期", readConverterExp = "单=位：天")
    private Long duration;

    /** 难度等级 */
    @Excel(name = "难度等级")
    private Long difficultyLevel;

    /** 组织者ID */
    @Excel(name = "组织者ID")
    private Long organizerId;

    /** 组织者 */
    @Excel(name = "组织者")
    private String organizer;

    /** 人数 */
    @Excel(name = "人数")
    private Long numOfPeople;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private String status;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }

    public void setDuration(Long duration) 
    {
        this.duration = duration;
    }

    public Long getDuration() 
    {
        return duration;
    }

    public void setDifficultyLevel(Long difficultyLevel) 
    {
        this.difficultyLevel = difficultyLevel;
    }

    public Long getDifficultyLevel() 
    {
        return difficultyLevel;
    }

    public void setOrganizerId(Long organizerId) 
    {
        this.organizerId = organizerId;
    }

    public Long getOrganizerId() 
    {
        return organizerId;
    }

    public void setOrganizer(String organizer) 
    {
        this.organizer = organizer;
    }

    public String getOrganizer() 
    {
        return organizer;
    }

    public void setNumOfPeople(Long numOfPeople) 
    {
        this.numOfPeople = numOfPeople;
    }

    public Long getNumOfPeople() 
    {
        return numOfPeople;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("locationId", getLocationId())
            .append("location", getLocation())
            .append("date", getDate())
            .append("duration", getDuration())
            .append("difficultyLevel", getDifficultyLevel())
            .append("organizerId", getOrganizerId())
            .append("organizer", getOrganizer())
            .append("numOfPeople", getNumOfPeople())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
